
let baseUrl;
if (process.env.NODE_ENV === 'development') {
    // baseUrl = 'https://sys.fjhuodun.cn'
    // baseUrl = 'http://192.168.1.113:8096'
    baseUrl = 'http://cdw.xmlifa.com/face'
    // baseUrl = 'http://f5sudx.natappfree.cc'
} else {
    baseUrl = 'http://cdw.xmlifa.com/face'
}

const apiList = {
    baseUrl,
    base: {
        uploadFile: '/wxSmallApp/file/uploadFile',
        getAppCode: 'https://okmall.ttjiandan.com/shopping/getAppCode'
        // getAppCode: 'http://119.91.136.120:8096/shopping/getAppCode'
    },
    login: {
        userOpenIdPcLogin: '/wxSmallApp/login/userOpenIdPcLogin', //扫码登录
        getJsConfigSign: '/wxSmallApp/login/getJsConfigSign', //扫码登录
        getDomainUrls: '/wxSmallApp/login/getDomainUrls', //获取配置域名
    },
    user: {
        getVIPConfig: '/wxSmallApp/user/getVIPConfig', //VIP充值套餐

        getUserCardDetail: '/wxSmallApp/user/getUserCardDetail', //用户详情 userInfo
        updateUserInfo: '/wxSmallApp/user/updateUserInfo', //编辑用户详情 userInfo

        getViewUserList: '/wxSmallApp/user/getViewUserList', //访客记录
        getUsersInviteList: '/wxSmallApp/user/getUsersInviteList', //邀请记录
        getUserInviteTotal: '/wxSmallApp/user/getUserInviteTotal', //邀请统计（余额）

        getViewerDynamicHis: '/wxSmallApp/uct/getViewerDynamicHis', //访问历史
        getViewerDynamicTotal: '/wxSmallApp/uct/getViewerDynamicTotal', //访问统计
        removeViewerDynamicHis: '/wxSmallApp/uct/removeViewerDynamicHis', //移除访问
        getShareViewerTotal: '/wxSmallApp/uct/getShareViewerTotal', //分享统计

        getViewUsersHisList: '/wxSmallApp/uct/getViewUsersHisList', //最近看我
        getMaxViewUserHisList: '/wxSmallApp/uct/getMaxViewUserHisList', //最多看我
        getUserViewHisList: '/wxSmallApp/uct/getUserViewHisList', //最近看我（viewerId看我）
        getViewRefViewerList: '/wxSmallApp/uct/getViewRefViewerList', //谁看了我
        getViewerTotal: '/wxSmallApp/uct/getViewerTotal', //看我的统计
        getUserUnReadCnt: '/wxSmallApp/uct/getUserUnReadCnt', //未读数量
        
        
        getUserBanks: '/wxSmallApp/uct/getUserBanks', //获取银行卡列表
        editUserBankAccount: '/wxSmallApp/uct/editUserBankAccount', //编辑银行卡
        addCashTransfer: '/wxSmallApp/cashtransfer/addCashTransfer', //提现申请
        getCashTransferList: '/wxSmallApp/cashtransfer/getCashTransferList', //提现列表
    },
    ad: {
        getUserAdverts: '/wxSmallApp/userAdvert/getUserAdverts', //广告列表
        editUserAdvertReq: '/wxSmallApp/userAdvert/EditUserAdvertReq', //编辑广告
        clickAdvert: '/wxSmallApp/userAdvert/clickAdvert', //点击广告
        getUserAdvertByFrontKey: '/wxSmallApp/userAdvert/getUserAdvertByFrontKey', //查看广告
        userDefaultAdvert: '/wxSmallApp/userAdvert/userDefaultAdvert', //设置默认广告
        getAdvertById: '/wxSmallApp/userAdvert/getAdvertById', //获取广告详情
    },
    art: {
        collectDynamic: '/wxSmallApp/art/collectDynamic', //采集
        editDynamic: '/wxSmallApp/art/editDynamic', //编辑
        getDynamicList: '/wxSmallApp/art/getDynamicList', //获取素材列表
        getDynamicInfo: '/wxSmallApp/art/getDynamicInfo', //获取素材详情（浏览）
        getDynamicIndustrys: '/wxSmallApp/art/getDynamicIndustrys', //栏目
        editUserIndustry: '/wxSmallApp/art/editUserIndustry', //订阅栏目
        praiseDynamic: '/wxSmallApp/art/praiseDynamic', //点赞
        shareDynamic: '/wxSmallApp/art/shareDynamic', //点赞
        userHisLeave: '/wxSmallApp/art/userHisLeave', //浏览回填
        createDynamic: '/wxSmallApp/art/createDynamic', //创建
        delDynamic: '/wxSmallApp/art/delDynamic', //删除

        getDynamicDraft: '/wxSmallApp/art/getDynamicDraft', //草稿列表
        editDynamicDraft: '/wxSmallApp/art/editDynamicDraft', //草稿编辑   
        getUserShareInfo: '/wxSmallApp/art/getUserShareInfo', //草稿编辑   
        editDynamicIndustrys: '/wxSmallApp/art/editDynamicIndustrys', //素材栏目设置

        getDynamicVideoList: '/wxSmallApp/art/getDynamicVideoList', //视频素材
        updateShareTemp: '/wxSmallApp/art/updateShareTemp', //分享更新正式
        getWxAppCode: '/wxSmallApp/art/getWxAppCode', //分享更新正式
        aiAnswer: '/wxSmallApp/material/aiAnswer', //AI问答
        createWxPubCode: '/wxSmallApp/material/createWxPubCode', //公众号二维码
    },
    sys: {
        getWxMenus: '/sys/wxp/getWxMenus', //获取菜单
        postWxMenu: '/sys/wxp/postWxMenu', //发布菜单
        editWxMenu: '/sys/wxp/editWxMenu', //菜单设置
        sysDeleArt: '/sys/wxp/sysDeleArt', //删除文章
        editMapUser: '/sys/wxp/editMapUser', //设置地图用户
    },
    respect: {
        getImgMateriaList: '/wxSmallApp/material/getImgMateriaList',
        getRandImproveText: '/wxSmallApp/material/getRandImproveText',
        getUserSignInfo: '/wxSmallApp/material/getUserSignInfo',
        updateSignInfoFile: '/wxSmallApp/material/updateSignInfoFile',
        userDaySign: '/wxSmallApp/material/userDaySign',
        editSysMateria: '/sys/wxp/editSysMateria', //图片素材设置
    },
    order: {
        createOrder: '/wxSmallApp/order/createOrder',
        createOrderPay: '/wxSmallApp/wxPay/createOrderPay',
    },
    relationship: {
        editUserCardInfo: '/wxSmallApp/ucAddt/editUserCardInfo', //编辑信息
        getAddtionUsers: '/wxSmallApp/ucAddt/getAddtionUsers', //好友列表
        getPlatTypes: '/wxSmallApp/ucAddt/getPlatTypes', //职务列表
        getSquareUsers: '/wxSmallApp/ucAddt/getSquareUsers', //人脉列表
        getUserCardInfo: '/wxSmallApp/ucAddt/getUserCardInfo', //用户信息
        passUserAddtion: '/wxSmallApp/ucAddt/passUserAddtion', //添加验证
        sendSmsCode: '/wxSmallApp/ucAddt/sendSmsCode', //发送验证码
        userAddtionUser: '/wxSmallApp/ucAddt/userAddtionUser', //添加好友
        getAddtionUsersCnt: '/wxSmallApp/ucAddt/getAddtionUsersCnt', //添加好友统计

        getMapUsers: '/wxSmallApp/ucAddt/getMapUsers', //地图用户
    },
    team: {
        getTeamInfo: '/wxSmallApp/team/getTeamInfo', //团队信息
        getTeamUsers: '/wxSmallApp/team/getTeamUsers', //团队成员
        editTeamInfo: '/wxSmallApp/team/editTeamInfo', //编辑创建团队
        editTeamUser: '/wxSmallApp/team/editTeamUser', //成员管理
        editJoinTeam: '/wxSmallApp/team/editJoinTeam', //加入-退出团队

        getTeamShareCnt: '/wxSmallApp/team/getTeamShareCnt', //团队分享统计
        getTeamShareHisByDynamic: '/wxSmallApp/team/getTeamShareHisByDynamic', //团队分享记录（按文章）
        getTeamShareHisByUser: '/wxSmallApp/team/getTeamShareHisByUser', //团队分享记录（按人）
        getTeamShareUsers: '/wxSmallApp/team/getTeamShareUsers', //团队分享记录
    },


    
    house: {
        editHouseGroups: '/wxSmallApp/userCode/editHouseGroups', //编辑分组
        getHouseGroups: '/wxSmallApp/userCode/getHouseGroups', //分组列表
        getHouseFiles: '/wxSmallApp/userCode/getHouseFiles', //素材库
        batchAddUserHouseFile: '/wxSmallApp/userCode/batchAddUserHouseFile', //新增素材
        deleteHouseFiles: '/wxSmallApp/userCode/deleteHouseFiles', //删除素材

        getUserShareCode: '/wxSmallApp/userCode/getUserShareCode', //二维码列表
        editUserShareCode: '/wxSmallApp/userCode/editUserShareCode', //编辑二维码
        getUserImgs: '/wxSmallApp/userCode/getUserImgs', //二维码图册列表
        batchAddUserImgs: '/wxSmallApp/userCode/batchAddUserImgs', //新增二维码图册
        deleteUserImages: '/wxSmallApp/userCode/deleteUserImages', //删除二维码图册
        getCodeContents: '/wxSmallApp/userCode/getCodeContents', //二维码正文记录
        editCodeContents: '/wxSmallApp/userCode/editCodeContents', //二维码正文编辑
        getContentByCodeId: '/wxSmallApp/userCode/getContentByCodeId', //【客户扫码】二维码信息
        codeShareContentSuccess: '/wxSmallApp/userCode/codeShareContentSuccess', //【客户扫码】二维码分享标记
        getXhsSign: '/wxSmallApp/userCode/getXhsSign', // 小红书签名
        getUserCodeCntChangeHis: '/wxSmallApp/userCode/getUserCodeCntChangeHis', // 账户变动记录
    }
}
export default apiList
